﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="WebLink.ascx.cs" Inherits=" NCS.Module.LinkSite.Web.WebLink" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<%@ Register Assembly="NCS.Module.MultiLanguage" Namespace="NCS.Module.MultiLanguage.WebControls"
    TagPrefix="cc1" %>
<asp:ScriptManager runat="server" ID="scripmanager1"></asp:ScriptManager>
<script language="javascript" type="text/javascript">
    function go(drop)
    {
        window.open(drop.options[drop.selectedIndex].value);
    }
</script>

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <div class='tinnoibat2'>
        <div class="tittle_right_hot">
            <cc1:MLLabel ID="MLLabel1" runat="server" CssClass="text_tittle4" LanguageKey="weblink"></cc1:MLLabel>
        </div>
        <div class="bg_tittle_right_sub">
                <asp:DropDownList ID="dropCatalogWebLink" runat="server" AutoPostBack="true" DataTextField="TitleName"
                    Width="97%" DataValueField="IDTitle" OnSelectedIndexChanged="dropCatalogWebLink_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="dropWebLink" runat="server" DataTextField="Link_Name" DataValueField="Link_Target"
                    Width="97%" >
                </asp:DropDownList>
                

        </div>
        <div style="clear:both"></div>
        </div>
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="dropCatalogWebLink" EventName="SelectedIndexChanged" />
    </Triggers>
</asp:UpdatePanel>
    